<%--
  Created by IntelliJ IDEA.
  User: haolw
  Date: 2017/4/7
  Time: 17:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html ng-app="bookApp" lang="en">
<head>
    <title>家庭图书信息管理工具</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/static/themes/logo.css" />

    <!-- CSS -->
    <link href="/static/components/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="/static/components/datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <link href="/static/components/bootstrap-form-helpers/css/bootstrap-formhelpers.min.css" rel="stylesheet" />
    <link href="/static/components/messenger/css/messenger.css" rel="stylesheet" />
    <link href="/static/components/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="/static/components/jstree/themes/default/style.min.css" rel="stylesheet" />
    <link href="/static/components/ng-table/ng-table.min.css" rel="stylesheet" />
    <link href="/static/components/jquery-ui/jquery-ui.min.css" rel="stylesheet" />
    <link href="/static/components/jquery-file-upload/css/jquery.fileupload.css" rel="stylesheet" />
    <link href="/static/components/jquery-weekcalendar/jquery.weekcalendar.css" rel="stylesheet" />

    <link href="/static/css/me-pageloading.css" rel="stylesheet" />
    <link href="/static/css/dashboard.css" rel="stylesheet" />
    <link href="/static/css/style.css" rel="stylesheet" />
    <link href="/static/css/bootstrap-override.css" rel="stylesheet" />
    <link href="/static/css/style.default.css" rel="stylesheet" media="screen" />

    <!-- Jquery -->
    <script src="/static/components/jquery/jquery-1.9.1.js"></script>
    <script src="/static/components/jquery/jquery.form.js"></script>
    <script src="/static/components/jquery-ui/jquery-ui.min.js"></script>
    <!-- End Jquery -->
    <script src="/static/components/jquery-weekcalendar/jquery.weekcalendar.js"></script>
    <script src="/static/components/underscore-min.js"></script>
    <script src="/static/components/sha256.js"></script>
    <script src="/static/components/enc-base64-min.js"></script>

    <script src="/static/components/bootstrap/js/bootstrap.min.js"></script>
    <script src="/static/components/bootstrap-wizard/bootstrap-wizard.min.js" type="text/javascript"></script>
    <script src="/static/components/snap.svg-min.js"></script>
    <!-- angular.js -->
    <script src="/static/components/angular/js/angular.js"></script>
    <script src="/static/components/angular/js/angular-resource.min.js"></script>
    <script src="/static/components/angular/js/angular-ui-router.js"></script>
    <script src="/static/components/angular/js/angular-cookies.min.js"></script>
    <script src="/static/components/angular/js/me-pageloading.js"></script>

    <script src="/static/components/ng-table/ng-table.min.js"></script>
    <script src="/static/components/angular-ui-bootstrap/ui-bootstrap-tpls-0.11.2.min.js"></script>
    <script src="/static/components/angular-dragdrop.min.js"></script>
    <script src="/static/components/angular-file-upload/angular-file-upload-shim.min.js"></script>
    <script src="/static/components/angular-file-upload/angular-file-upload.min.js"></script>
    <script src="/static/components/oclazyload/dist/ocLazyLoad.js"></script>
    <script src="/static/components/oclazyload/dist/ocLazyLoad.require.js"></script>
    <!-- End angular.js -->
    <script src="/static/components/tm.pagination.js"></script>
    <script src="/static/app/app.js"></script>
    <script src="/static/app/controllers/emm.js"></script>
    <script src="/static/app/services/service.js"></script>
</head>
<body ng-controller="BookCtrl" data-ng-cloak>
<input type="hidden" id="menu" value="${menu }" />
<header>
    <div class="headerwrapper">
        <div class="header-left">
		<span class="logo">
			<div class="pull-right">
                图书管理				<a href="" class="menu-collapse"> <i class="fa fa-bars"></i></a>
			</div>
		</span>
        </div>

        <div class="header-right">
            <div class="pull-left"></div>
            <div class="pull-right">
                <div class="btn-group btn-group-option">
                    <button type="button" class="btn btn-default dropdown-toggle" style="width:130px;color:#363636;"  data-toggle="dropdown">
                        <i class="glyphicon glyphicon-user" style="padding-right:8px;font-size:16px;"></i><span>${displayUserName}</span>
                    </button>
                    <ul class="dropdown-menu pull-right" role="menu">
                        <li><a ng-click="logout()">
                            <form action="/logout" method="post" id="logout-form">
                                退出
                            </form>
                        </a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</header>
<section>
    <div class="mainwrapper">
        <div class="leftpanel">
        	<jsp:include page="layout/sidebar.jsp" />
        </div>
        <div class="mainpanel">
            <div ui-view></div>
        </div>
    </div>
</section>

<script type="text/javascript" src="/static/components/jquery.jOrgChart.js"></script>
<script type="text/javascript" src="/static/components/prettify.js"></script>
<!-- JS -->
<script src="/static/components/jstree/jstree.js"></script>
<script src="/static/components/jsTree.directive.js"></script>
<script src="/static/components/datetimepicker/js/bootstrap-datetimepicker.js"></script>
<script src="/static/components/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="/static/components/bootstrap-form-helpers/js/bootstrap-formhelpers.min.js"></script>
<script src="/static/components/validator.js"></script>
<script src="/static/components/messenger/js/messenger.min.js"></script>
<script src="/static/app/custom.js"></script>

<script src="/static/app/controllers/user.js"></script>
<script src="/static/app/controllers/book.js"></script>
<script src="/static/app/controllers/book_classification.js"></script>
<script src="/static/app/controllers/records.js"></script>
<script src="/static/app/controllers/stats.js"></script>
</body>
</html>